package com.ikos.web.modules.admin.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.google.code.kaptcha.Producer;
import com.ikos.web.modules.admin.entity.IkosCaptcha;
import com.ikos.web.modules.admin.mapper.IkosCaptchaMapper;
import com.ikos.web.modules.admin.service.IkosCaptchaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.awt.image.BufferedImage;

import java.util.Date;

@Service
public class IkosCaptchaServiceImpl extends ServiceImpl<IkosCaptchaMapper, IkosCaptcha> implements IkosCaptchaService {



    @DS("master_ch")
    @Override
    public String getCaptcha(String uuid) {
        return uuid;
    }

    @Override
    public boolean validate(String uuid, String code) {
        return false;
    }
}
